package org.real.guetshop.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {
    private Integer id;
    private String orderNumber;
    private Integer number;
    private Integer userId;
    private String username;
    private Integer productId;
    private String name;
    private Integer storeId;
    private String phone;
    private String address;
    private String image;
    private BigDecimal price;
    private BigDecimal amount;
    private Integer status;
    private String unit;
    private LocalDateTime orderTime;
    private LocalDateTime endTime;
}
